package com.bestcem.xm.componet.sms.push.core;

import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

import java.util.Map;

public interface PushSmsCommonApi {
    /**
     * 注册
     */
    @POST("/api/sms/components/")
    Map<String, Object> register(@Body Map<String, Object> body);

    /**
     * 获取注册信息
     */
    @GET("/api/sms/components/{id}")
    Map<String, Object> getRegisterInfo(@Path("id") String id);

    /**
     * 获取短信下发信息
     */
    @GET("/api/sms/records/{id}")
    Map<String, Object> getSmsRecord(@Path("id") String id);
}
